package org.example.im.bean.protocol.request;

import lombok.*;
import org.example.im.bean.protocol.CommandType;
import org.example.im.bean.protocol.Packet;

/**
 * @author dingrui
 * @since 2022/2/12
 * @description 群发消息
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Send2GroupRequestPacket extends Packet {

    private String toGroupId;
    private String msg;

    @Override
    public CommandType getCommandType() {
        return CommandType.SEND_2_GROUP_REQUEST;
    }
}
